package com.quxiu.common.core.utils.map;

import lombok.Data;

/**
 * 坐标点
 */
@Data
public class Point {
    private double x;
    private double y;
    private double length;

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
    }

    public Point(double x, double y, double length) {
        this.x = x;
        this.y = y;
        this.length = length;
    }

    public Point(String x, String y) {
        this.x = Double.parseDouble(x);
        this.y = Double.parseDouble(y);
    }


}
